<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<meta http-equiv="Pragma" content="no-cache">
	<meta http-equiv="Cache-Control" content="no-cache">
	<meta http-equiv="Expires" content="0">
	<meta name="format-detection" content="telephone=no" />
	<meta name="format-detection" content="telephone=no" />
	<meta name="format-detection" content="email=no" />
	<meta name="format-detection" content="address=no" />
	<meta name="format-detection" content="date=no" />
	<title>调查问券</title>
	<script type="text/javascript">
		!function (N, M) { function L() { var a = I.getBoundingClientRect().width; a / F > 540 && (a = 540 * F); var d = a / 10; I.style.fontSize = d + "px", D.rem = N.rem = d } var K, J = N.document, I = J.documentElement, H = J.querySelector('meta[name="viewport"]'), G = J.querySelector('meta[name="flexible"]'), F = 0, E = 0, D = M.flexible || (M.flexible = {}); if (H) { console.warn("将根据已有的meta标签来设置缩放比例"); var C = H.getAttribute("content").match(/initial\-scale=([\d\.]+)/); C && (E = parseFloat(C[1]), F = parseInt(1 / E)) } else { if (G) { var B = G.getAttribute("content"); if (B) { var A = B.match(/initial\-dpr=([\d\.]+)/), z = B.match(/maximum\-dpr=([\d\.]+)/); A && (F = parseFloat(A[1]), E = parseFloat((1 / F).toFixed(2))), z && (F = parseFloat(z[1]), E = parseFloat((1 / F).toFixed(2))) } } } if (!F && !E) { var y = N.navigator.userAgent, x = (!!y.match(/android/gi), !!y.match(/iphone/gi)), w = x && !!y.match(/OS 9_3/), v = N.devicePixelRatio; F = x && !w ? v >= 3 && (!F || F >= 3) ? 3 : v >= 2 && (!F || F >= 2) ? 2 : 1 : 1, E = 1 / F } if (I.setAttribute("data-dpr", F), !H) { if (H = J.createElement("meta"), H.setAttribute("name", "viewport"), H.setAttribute("content", "initial-scale=" + E + ", maximum-scale=" + E + ", minimum-scale=" + E + ", user-scalable=no"), I.firstElementChild) { I.firstElementChild.appendChild(H) } else { var u = J.createElement("div"); u.appendChild(H), J.write(u.innerHTML) } } N.addEventListener("resize", function () { clearTimeout(K), K = setTimeout(L, 300) }, !1), N.addEventListener("pageshow", function (b) { b.persisted && (clearTimeout(K), K = setTimeout(L, 300)) }, !1), "complete" === J.readyState ? J.body.style.fontSize = 12 * F + "px" : J.addEventListener("DOMContentLoaded", function () { J.body.style.fontSize = 12 * F + "px" }, !1), L(), D.dpr = N.dpr = F, D.refreshRem = L, D.rem2px = function (d) { var c = parseFloat(d) * this.rem; return "string" == typeof d && d.match(/rem$/) && (c += "px"), c }, D.px2rem = function (d) { var c = parseFloat(d) / this.rem; return "string" == typeof d && d.match(/px$/) && (c += "rem"), c } }(window, window.lib || (window.lib = {}));
	</script>
	<style>
		* {
			padding: 0;
			margin: 0;
		}

		li {
			list-style: none;
		}

		body,
		html {
			width: 100%;
			height: 100%;
		}

		.main {
			width: 100%;
			height: 100%;
			background: url('./img/bg2.png?v=1');
			background-size: 100% 100%;
			overflow: hidden;
		}

		.input-group {
			width: 4rem;
			height: 0.5rem;
			margin: 0.32rem 0 0.68rem 3.1rem;
		}

		label {
			font-size: 0.4rem;
			color: #f9593d;
		}

		input[type="radio"]+label::before {
			content: "\a0";
			/*不换行空格*/
			display: inline-block;
			vertical-align: middle;
			font-size: 18px;
			width: 0.4rem;
			height: 0.4rem;
			margin-right: 0.32rem;
			border-radius: 50%;
			border: 1px solid #f9593d;
			text-indent: 0.1rem;
			line-height: 1;
		}

		input[type="radio"]:checked+label::before {
			background-color: #f9593d;
			background-clip: content-box;
			padding: 0.03rem;
		}

		input[type="radio"] {
			position: absolute;
			clip: rect(0, 0, 0, 0);

		}

		#send {
			width: 2.5rem;
			height: 1rem;
			position: absolute;
			top: 65%;
			left: 3.7rem;
		}

		.mopup {
			position: absolute;
			overflow: hidden;
			display: none;
			top: 0;
			z-index: 999;
			width: 100%;
			height: 100%;
			background: rgba(0, 0, 0, .72);
			color: #7f4a0b;
		}

		.frame0 {
			width: 7.65rem;
			height: 4.2rem;
			background: url('./img/frame0.png?v=1');
			background-size: 100% 100%;
			position: absolute;
			top: 7rem;
			left: 1.2rem;

		}

		.frame0 p {
			font-size: 0.32rem;
			font-family: HYQiHei-FZS;
			color: rgba(49, 49, 49, 1);
			padding: 0 0.3rem;
			text-align: center;
			margin-top: 1.4rem;

		}

		.again,
		.cancel {
			width: 2.81rem;
			height: 0.75rem;
			display: inline-block;
			position: absolute;
			top: 2.7rem;
		}

		.cancel {
			left: 0.75rem;
		}

		.again {
			right: 0.75rem;
		}
	</style>
</head>

<body>
	<div class="main">
		<div class="input-group" style="margin-top:4.5rem;">
			<input type="radio" id="type1" name="zz" />
			<label class="lab" for="type1">朋友推荐</label>
		</div>
		<div class="input-group">
			<input type="radio" id="type2" name="zz">
			<label class="lab" for="type2">互联网媒体广告</label>
		</div>
		<div class="input-group">
			<input type="radio" id="type3" name="zz">
			<label class="lab" for="type3">网络搜索</label>
		</div>
		<div class="input-group">
			<input type="radio" id="type4" name="zz">
			<label class="lab" for="type4">纸质媒体广告</label>
		</div>
		<div class="input-group">
			<input type="radio" id="type5" name="zz">
			<label class="lab" for="type5">其他</label>
		</div>
		<div id="send"></div>
	</div>
	<!-- 提示 -->
	<!-- <div class="mopup fai">
		<div class="frame0">
			<p>系统已为您随机分配“新人礼”领取码，请点击“OK”，返回首页后重新提交领取奖励！</p>
			<div class="again"></div>
			<div class="cancel"></div>
		</div>
	</div> -->
</body>
<script type="text/javascript" src="js/jquery-2.1.1.min.js"></script>
<script>
	$('#send').on('click', function () {
		// $('.fai').show()
		// $('.again').on('click', function () {
			var url = 'index.html'
			if ($('#type1:checked').length == 1) {
				window.location.href = url + '?giftCode=536956'
			} else if ($('#type2:checked').length == 1) {
				window.location.href = url + '?giftCode=864531'
			} else if ($('#type3:checked').length == 1) {
				window.location.href = url + '?giftCode=253691'
			} else if ($('#type4:checked').length == 1) {
				window.location.href = url + '?giftCode=293112'
			} else if ($('#type5:checked').length == 1) {
				window.location.href = url + '?giftCode=652008'
			}
		// })
		// $('.cancel').on('click', function () {
		// 	$('.fai').hide()
		// })
	})
</script>

</html>